package com.tsing.cli.system.vo.resp;

import com.alibaba.fastjson2.annotation.JSONField;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Getter;
import lombok.Setter;

import java.util.Date;

/**
 * @author TheTsing
 * @since 2022-11-28 14:23
 */
@Getter
@Setter
public class LoginRespVO {

    @Schema(description = "token")
    private String token;

    @Schema(description = "昵称")
    private String nickName;

    @Schema(description = "手机号码")
    private String phone;

    @Schema(description = "邮箱")
    private String email;

    @Schema(description = "0男  1女", allowableValues = {"0", "1"})
    private Integer gender;

    @Schema(description = "生日")
    @JSONField(format = "yyyy-MM-dd")
    private Date birthday;

    @Schema(description = "头像")
    private String avatar;

}
